<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace app\publics\controller;

class IndexTmpl extends \app\ApiRest
{
    protected $model;
    public function __construct(\think\App $app)
    {
        parent::__construct($app);
        $this->model = new \app\publics\model\TmplConfig();
    }
    public function getTmplId()
    {
        $input = $this->_input;
        $dis[] = ["uniacid", "=", $this->_uniacid];
        $dis[] = ["tmpl_id", "<>", 0];
        $dis[] = ["tmpl_name", "in", $input["tmpl_name"]];
        $data = $this->model->tmplIdList($dis);
        return $this->success($data);
    }
}

?>